// 封装的请求方法
import base, { host360 } from "./base";
import axios from "@/utils/request";

export default {
  // 热门城市
  gethHotCity() {
    return axios.get(base.hotcity);
  },
  /*
搜索框内容
get  keyword=''
*/
  getSearch(params) {
    return axios.get(base.search, { params })

  },
  /* 
今日推荐
*/
  getTodyInfo() {
    return axios.get(base.todyInfo);
  },
  /* 
穷游商城
?page=1
*/
  getHomeShop(params) {
    return axios.get(base.homeShop, { params });
  },
  /* 
    热门游记与话题
  */
  getHotTravel() {
    return axios.get(base.hotTravel);
  },

}
export function demo() {
  console.log("测试单个导出-");


}


